BUGFIX: socket buffer wasn't empty, could have led to false negatives