How to simulate a socket connection with AWS Simple Queue Service