Removed getlength method, because length won't be necessary for the
packet
Added socket states, documentation for methods