Bugfix in read_frame subroutine.
read_frame is now able to handle non-trimmed STOMP commands properly.
Change in disconnect subroutine: only send DISCONNECT frame when still connected.