Parse the port to a number if needed, further fixing #524 (#526)
Parse the port to a number if needed, further fixing #524 (#526)

* Parse the port to a number if needed, further fixing #524

* Fix the reassignment of program.port

gatsbyjs/gatsby,chiedo/gatsby,ChristopherBiscardi/gatsby,danielfarrell/gatsby,fabrictech/gatsby,gatsbyjs/gatsby,mingaldrichgan/gatsby,mickeyreiss/gatsby,chiedo/gatsby,ChristopherBiscardi/gatsby,okcoker/gatsby,fk/gatsby,gatsbyjs/gatsby,fk/gatsby,Khaledgarbaya/gatsby,danielfarrell/gatsby,mingaldrichgan/gatsby,Khaledgarbaya/gatsby,ChristopherBiscardi/gatsby,0x80/gatsby,chiedo/gatsby,mickeyreiss/gatsby,fk/gatsby,fabrictech/gatsby,danielfarrell/gatsby,mingaldrichgan/gatsby,okcoker/gatsby,0x80/gatsby,gatsbyjs/gatsby,fabrictech/gatsby,Khaledgarbaya/gatsby,gatsbyjs/gatsby,mickeyreiss/gatsby,0x80/gatsby,gatsbyjs/gatsby,okcoker/gatsby,ChristopherBiscardi/gatsby