SMB2 protocol version negotiation needs work
No response is emitted when a NEGOTIATE request is received with dialects that are unsupported. This appears to be due to the fact that the response header is not properly initialised. The code also attempts to send NT_STATUS_INVALID_PARAMETER whereas the correct response is NT_STATUS_NOT_SUPPORTED. We also do not properly handle the cases where no dialect is given.