FIX: amqp_open_socket not defined.

This fixes a regression introduced in 6ad770dc where the
amqp_open_socket() function is no longer defined.