Corrected the bytelen check to > -1 (Can send 0 bytes)