If the response is actually binary, then it seems like you really want

````ruby
if @sock.get(DEFAULT_TIMEOUT) =~ /SIZE=\d+\r?\n(.*)/m
````