Merge pull request #176 from hamano/devel

added error handling in mod_pubsub_odbc.
undefined ejabberd_socket:get_conn_type/1