re-sending messages from socket to rabbit