Fixed bug in RecieveServer preventing the reading of the input stream