Fix old classes naming problem for python2.
Fix queue import for python2.
Fix lack of list.clear in python2 by using set.
Test sentry headers parsing.
Test decode sentry message body.
Test creating sentry message.
Test ElasticsearchTransport send.
Test run server.
Test parse args.
Test _run_server.
Test get_handler.
Test get_sender.
Test retry loop.