Remove send_magicpkt() declaration
Remove superfluous headers
Change http -> https

As all github communication is over the https protocol