Server application works (just with encoding and decoding)