Fixed bug of becoming unstable when receiving to long header from client