post on scala embedded socket server