Removed hardcoded values.
Merge commit '1210683651d00a4a53e9c9e782177721d664d724'
Fixed Socket.writeString method for long responses.