https balancing. Closes #4