Https bug

Fix https sites crashing server. #23